<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="sf"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Add New Employee</title>
<style>
.error {
	color: #ff0000;
	font-style: italic;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link
	href="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"
	rel="stylesheet">
</head>
<body>
	
	<%@include file="/WEB-INF/views/Header.jsp" %>
	
	<center>
		<h3>Add New Employee</h3>
	</center>
	<br>
	<center>
		<sf:form action="/resource_tracker/addemployee" method="post"
			modelAttribute="employee">
			<table>
				<tr>
					<td>First Name:</td>
					<td><sf:input type="text" path="firstName" /></td>
					<td><sf:errors path="firstName" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Last Name:</td>
					<td><sf:input type="text" path="lastName" /></td>
					<td><sf:errors path="lastName" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Date Of Birth (MM/dd/yyyy):</td>
					<td><sf:input type="date" path="dob" /></td>
					<td><sf:errors path="dob" cssClass="error" /></td>
				</tr>
				<tr>
					<td>SSN:</td>
					<td><sf:input type="text" path="ssn" maxlength="11" /></td>
					<td><sf:errors path="ssn" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Home Phone Number:</td>
					<td><sf:input type="text" path="homePhone" /></td>
					<td><sf:errors path="homePhone" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Cell Phone Number:</td>
					<td><sf:input type="text" path="cellPhone" /></td>
					<td><sf:errors path="cellPhone" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Email:</td>
					<td><sf:input type="text" path="emailAddress" /></td>
					<td><sf:errors path="emailAddress" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Work Authorization Status:</td>
					<td><sf:input type="text" path="workAuthorizationStatus" /></td>
					<td><sf:errors path="workAuthorizationStatus" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Drivers License Number:</td>
					<td><sf:input type="text" path="driversLicenseNumber" /></td>
					<td><sf:errors path="driversLicenseNumber" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Drivers License State:</td>
					<td><sf:input type="text" path="driversLicenseState"
							maxlength="2" /></td>
					<td><sf:errors path="driversLicenseState" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Willing To Relocate (True/False):</td>
					<td><sf:input type="text" path="willingToRelocate" /></td>
					<td><sf:errors path="willingToRelocate" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Intended Job Location City:</td>
					<td><sf:input type="text" path="intendedJobLocationCity" /></td>
					<td><sf:errors path="intendedJobLocationCity" cssClass="error" /></td>
				</tr>

				<tr>
					<td>Intended Job Location State:</td>
					<td><sf:input type="text" path="intendedJobLocationState"
							maxlength="2" /></td>
					<td><sf:errors path="intendedJobLocationState"
							cssClass="error" /></td>
				</tr>
				<tr>
					<td>Highest Level Of Education:</td>
					<td><sf:input type="text" path="highestLevelOfEducation" /></td>
					<td><sf:errors path="highestLevelOfEducation" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Years Of Experience:</td>
					<td><sf:input type="text" path="yearsOfExperience" /></td>
					<td><sf:errors path="yearsOfExperience" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Date Of Availability(MM/dd/yyyy):</td>
					<td><sf:input type="date" path="dateOfAvailability" /></td>
					<td><sf:errors path="dateOfAvailability" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Target Job Role:</td>
					<td><sf:input type="text" path="targetJobRole" /></td>
					<td><sf:errors path="targetJobRole" cssClass="error" /></td>
				</tr>
				<tr>
					<td>Expected Pay Rate:</td>
					<td><sf:input type="text" path="expectedPayRate" /></td>
					<td><sf:errors path="expectedPayRate" cssClass="error" /></td>
				</tr>
			</table>
			<br>
			<input type="submit" value="Submit" />
			<input type="reset" value="Reset" />
		</sf:form>

	</center>



</body>
</html>